import { ipcMain } from 'electron';
import * as userDao from './userDao'

//在这统一管理给渲染进程调用的sql查询方法
export function setupDbIpcHandlers() {
    //监听那个表的哪个查询
    ipcMain.handle("userDao-getAllUsers",userDao.getAllUsers);

}
